<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" href="/res/style/space/space.css" type="text/css" />
<style type="text/css">
#navigation {
	background: #74A8F5;
	border-top: 1px solid #ffffff;
	height: 25px;
	clear: both
}

/*普通样式*/
div.style1 {
	width: 20px;
	height: 20px;
	float: left;
	background-color: aqua;
	border: 1px solid gray;
	font-size: 15px;
	text-align: center;
	cursor: inherit;
}
/*高亮样式*/
div.style2 {
	width: 20px;
	height: 20px;
	float: left;
	background-color: gray;
	border: 1px solid black;
	font-size: 15px;
	text-align: center;
	font-weight: bold;
	cursor: inherit;
}
</style>

<script type="text/javascript" src="/res/script/space/spaceIndex.js">
	
</script>

</head>
<body onload="startChange();" bgcolor="gray">
	<!-- menu -->
<html>
<head>
<base href="http://localhost:8080/">

<title>网络新闻管理系统</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
</head>

<body>
	<div class="menu">
		<ul>
			<li id="current"><a href="space_sHomePager.action"><span>主页</span>
			</a>
			</li>
			<li><a href="space_uInfo.action">个人信息</a>
			</li>
			<li><a href="space_uTake.action">订阅</a>
			</li>
			<li><a href="space_uMessage.action">个人消息</a>
			</li>
		</ul>
	</div>
</body>
</html>
<table border="1" align="center" width="840" height="680">

	<td valign="top">
		<h3 align="center">用户信息</h3> 欢迎您：<a class=""
		href="personal.action?act=showSpace">bird</a> <a
		href="action_logout.action">注销</a>



		<hr>
		<div>
			<Iframe src="/page/space/left.html" width="260" height="600"
				scrolling="no" frameborder="0"></iframe>
		</div>
	</td>

	<td valign="top">
		<form style="float: left;">
			<div class="MainDiv">
				<div class="AjustDiv">
					<!-- 内容部分 -->
					<div class="ContentDiv">
						<div class="DetailDiv">
							<form action="userManage.action?id=007&act=update" method="post">

								<div class="ItemDiv">
									<h2>查看或者修改用户信息</h2>
								</div>
								<div class="ItemDiv">
									<table>
										<tr>
											<td colspan="6" style="text-align: left;">
												<h2>基本信息：</h2>
											</td>
										</tr>
										<tr>
											<td><label>账号：</label>
											</td>
											<td><input class="EditTextStyle_1" type="text"
												name="user.username" value="007">
											</td>

											<td><label>密码：</label>
											</td>
											<td><input class="EditTextStyle_1" type="password"
												name="user.password" value="000000">
											</td>

											<td><label>昵称：</label>
											</td>
											<td><input class="EditTextStyle_1" type="text"
												name="user.nickname" value="bird">
											</td>
										</tr>
										<tr>
											<td><label>等级：</label>
											</td>
											<td><input class="EditTextStyle_1" disabled="disabled"
												type="text" name="user.grade" value="0"></td>

											<td><label>主页：</label>
											</td>
											<td><input class="EditTextStyle_1" type="text"
												name="user.homepage" value="http:www.baidu.com">
											</td>

											<td><label>注册时间：</label>
											</td>
											<td><input class="EditTextStyle_1" disabled="disabled"
												type="datetime" name="user.registerTime"
												value="2013-06-27 01:02:09.0">
											</td>
										</tr>
										<tr>
											<td><label>状态：</label>
											</td>
											<td><input class="EditTextStyle_1" type="text"
												name="user.state" value="1">
											</td>

											<td><label>属性：</label>
											</td>
											<td><select name="user.property">
													<option value="0">用户属性</option>
													<option value="1">普通用户</option>
													<option value="2">普通会员</option>
													<option value="3" selected="selected">高级会员</option>
											</select>
											</td>
											<td><label>角色：</label>
											</td>
											<td><select name="user.role.id">
													<option value="1" selected="selected">高级管理员</option>
													<option value="2">管理员</option>
													<option value="3">采集员</option>
													<option value="4">VIP用户</option>
													<option value="5">普通用户</option>

											</select>
											</td>
										</tr>
									</table>
								</div>
								<div class="ItemDiv">
									<table>
										<tr>
											<td colspan="6" style="text-align: left;">
												<h2>详细信息：</h2>
											</td>
										</tr>
										<tr>
											<td><label>姓名：</label>
											</td>
											<td><input class="EditTextStyle_1" type="text"
												name="user.userInfo.name" value="梁天智"></td>
											<td><label>生日：</label>
											</td>
											<td>
												<!-- <fmt:formatDate value="" pattern="yyyy-M-d" /> --> <input
												class="EditTextStyle_1" name="user.userInfo.birthday"
												type="date" value="" />
											</td>
											<td><label>个性签名：</label>
											</td>
											<td><input class="EditTextStyle_1" type="text"
												name="user.userInfo.signature" value="得到的">
											</td>
										</tr>
										<tr>
											<td><label>故乡：</label>
											</td>
											<td><input class="EditTextStyle_1" type="text"
												name="user.userInfo.nativePlace.country" value="中国">
											</td>
											<td><label>所在地：</label>
											</td>
											<td><input class="EditTextStyle_1" type="text"
												name="user.userInfo.location.country" value="中国">
											</td>
											<td><label>性别：</label>
											</td>
											<td><select name="user.userInfo.gender">
													<option value="0">保密</option>
													<option value="1" selected="selected">男</option>
													<option value="2">女</option>
											</select>
											</td>
										</tr>

										<tr>
											<td><label>邮箱：</label>
											</td>
											<td><input class="EditTextStyle_1" type="email"
												name="user.userInfo.email" value="11222@qq.com"></td>
											<td><label>电话：</label>
											</td>
											<td><input class="EditTextStyle_1" type="tel"
												name="user.userInfo.phone" value="123"></td>
											<td><label>QQ：</label>
											</td>
											<td><input class="EditTextStyle_1" type="text"
												name="user.userInfo.qq" value="11111111"></td>
										</tr>

										<tr>
											<td><label>工作单位：</label>
											</td>
											<td><input class="EditTextStyle_1" type="text"
												name="user.userInfo.assistInfo.workUnit" value="广工">
											</td>
											<td><label>职业：</label>
											</td>
											<td><input class="EditTextStyle_1" type="text"
												name="user.userInfo.assistInfo.profession" value="学生">
											</td>
											<td><label>职位：</label>
											</td>
											<td><input class="EditTextStyle_1" type="text"
												name="user.userInfo.position" value="">
											</td>
										</tr>
									</table>
								</div>
								<div class="ItemDiv">
									<div style="text-align:left;padding:5px;">
										<button type="submit" onclick="">提交</button>
										<button type="reset" onclick="">重置</button>
									</div>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</form>
	</td>
</table>
<div align="center">
	<div>Copyright2013&copy;广东工业大学</div>
</div>
</body>
</html>
